HDFS-16358. HttpFS implementation for getSnapshotDiffReportListing#3730
HDFS-16358. HttpFS implementation for getSnapshotDiffReportListing#3730iwasakims merged 5 commits intoapache:trunkfrom
Conversation
|
🎊 +1 overall
This message was automatically generated. |
|
@iwasakims @jojochuang @aajisaka Could you please take a look? |
|
🎊 +1 overall
This message was automatically generated. |
|
Minor refactor in the latest commit. |
|
🎊 +1 overall
This message was automatically generated. |
|
@virajjasani HttpFSFileSystem might be able to leverage |
|
Thanks for taking a look.
I have made WebHdfsFileSystem#getSnapshotDiffReportListing public only because of test usage, so let me make it as
On the other hand, almost every other HttpFS APIs use DFSClient (through DFS) e.g.
Sounds good, however, I have the same question as above that majority of HttpFS APIs still directly use DFSClient if the underlying FileSystem is DFS. Does this cause any known issues? Thanks @iwasakims, let me add |
|
🎊 +1 overall
This message was automatically generated. |
jojochuang
left a comment
There was a problem hiding this comment.
BTW TestHttpFSFWithSWebhdfsFileSystem is currently failing consistently in trunk. So we really need to fix it. (how did we miss it before?)
jojochuang
left a comment
There was a problem hiding this comment.
From a quick look the code looks good to me.
Thanks @jojochuang. These tests are passing as per QA results on this PR: I am not 100% sure why the test was missed but I guess it's because when a change is made to WebHdfs module explicitly, Httpfs tests are not run by QA and hence any existing test failure might be missed. |
iwasakims
left a comment
There was a problem hiding this comment.
Thanks for the update, @virajjasani. +1. merging this.
Description of PR
HttpFS should support getSnapshotDiffReportListing API for improved snapshot diff.
How was this patch tested?
Local testing. Added some tests in httpfs module.
For code changes: